﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="listFilter.aspx.cs" Inherits="listFilter" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" onpageindexchanging="GridView1_PageIndexChanging" 
        ShowHeader="False" ForeColor="#333333" GridLines="None" 
    onrowdatabound="GridView1_RowDataBound">
        <PagerSettings FirstPageImageUrl="~/Images/First.gif" FirstPageText="" 
            LastPageImageUrl="~/Images/Last.gif" NextPageImageUrl="~/Images/Next.gif" 
            PreviousPageImageUrl="~/Images/Previous.gif" />
        <RowStyle BackColor="#F7F6F3" BorderStyle="None" ForeColor="#333333" />
        <Columns>
            <asp:TemplateField>
                <ItemTemplate>
                    <a href="view.aspx?func=<%# Eval("ID_P") %>">
                        <asp:Image ID="Image1" runat="server" 
                        ImageUrl='<%# "page/" + Eval("Image") %>' />
                    </a>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="100px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label ID="lblTitle" runat="server" Font-Bold="True" 
                        Text='<%# Eval("TitleVi") %>'></asp:Label>
                    <br />
                    <br />
                    <asp:Label ID="lblSumary" runat="server" Text='<%# Eval("SumaryVi") %>'></asp:Label>
                    <br />
                </ItemTemplate>
                <ItemStyle Width="400px" />
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle 
            BorderStyle="None" />
        <EditRowStyle BorderStyle="None" BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
</asp:Content>

